export default class Logger {
  tag: string
  constructor(tag: string) {
    this.tag = tag
  }

  v(message: string) {
    window.api.log.v(this.tag, message)
  }

  d(message: string) {
    window.api.log.d(this.tag, message)
  }

  i(message: string) {
    window.api.log.i(this.tag, message)
  }

  w(message: string) {
    window.api.log.w(this.tag, message)
  }

  e(message: string) {
    window.api.log.e(this.tag, message)
  }
}
